import service from "@/utils/requestStu"
export function getStus() {
  return service({
    url: '/users',
    method: 'get',
  })
}
export function getStusId(id) {
  return service({
    url: `/users/${id}`,
    method: 'get',
  })
}


export function updaStus(id,obj) {
  console.log(obj,"obj");
  return service({
    url: `/users/${id}`,
    method: 'put',
    data:obj

  })
}